package com.aaa.service.impl;

import com.aaa.dao.DeptDao;
import com.aaa.dao.UserDao;
import com.aaa.dao.impl.DeptDaoImpl;
import com.aaa.dao.impl.UserDaoImpl;
import com.aaa.service.DeptService;
import com.aaa.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2022/8/9 9:19
 * @description：
 * @modified By：
 * @version:
 */
@Service
public class DeptServiceImpl implements DeptService {
  //  DeptDao deptDao = new DeptDaoImpl();
    @Autowired
    DeptDao deptDao ;
    @Override
    public List<Map<String, Object>> queryAll(Map map) {
        return deptDao.queryAll(map);
    }

    @Override
    public Long queryCount(Map map) {
        return deptDao.queryCount(map);
    }
}
